#ifndef GLABALPARA_H
#define GLABALPARA_H

#include <QtGui>
#include <QtCore/QTextCodec>
//#include <windows.h>

#define CURRENT_VERSION 1
#define SAFE_DELETE_POINTER(_pointer)\
{if(_pointer) {delete _pointer; _pointer=NULL;}}
extern qint32 gCalendarX;
extern qint32 gCalendarY;
extern qint32 gCalendarWidth ;
extern qint32 gCalendarHeight;
extern qint32 gNoteTaskWidth ;
enum NoteType{
    NOTE,
    TASK
};
extern QTextCodec * codec_zh_CN;

//could use only on Windows
//extern bool enumUserWindowsCB(HWND hwnd, LPARAM lParam);
//extern HWND findDesktopIconWnd();
#endif // GLABALPARA_H
